import request from '@/utils/request'

//查询检验结果分析箱线图
export function checkoutResultChart(query) {
    return request({
      url: '/ny-iqc/statistics/checkoutResultChart',
      method: 'post',
      params: query
    })
}


//查询检查项
export function getCheckItem(query) {
    return request({
        url: '/ny-iqc/inspectionPlan/getCheckItem',
        method: 'get',
        params: query
    })
}
//查询检验结果分析列表
export function checkoutResultList(query) {
    return request({
      url: '/ny-iqc/statistics/checkoutResultList',
      method: 'post',
      params: query
    })
}

//查询检验结果分析散点图
export function checkoutResultScatterChart(query) {
    return request({
      url: '/ny-iqc/statistics/checkoutResultScatterChart',
      method: 'post',
      params: query
    })
}

//查询BOM物料信息列表
export function getBomList(query,type) {
    return request({
        url: '/ny-iqc/bomMessage/list',
        method: 'get',
        responseType: type,
        params: query
    })
}
export function statisticsPageClass(query) {
    return request({
        url: '/ny-iqc/statistics/statisticsPageClass',
        method: 'get',
        params: query
    })
}
export function statisticsPage(query) {
    return request({
        url: '/ny-iqc/statistics/statisticsPage',
        method: 'get',
        params: query
    })
}


export function checkoutScatterResultList(query) {
    return request({
        url: '/ny-iqc/statistics/checkoutResultScatterList',
        method: 'post',
        params: query
    })
}

export function inspectItemList(query) {
    return request({
        url: '/ny-iqc/incomingInspection/exportClassList',
        method: 'post',
        params: query
    })
}


